//-----------------------------------------------------------------------
// <copyright file="a_UserCreditTransLogBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_UserCreditTransLogBase
	{
		
		#region Variable Declarations
		private int				creditTransID = 0;
		private int				userID = 0;
		private int				type = 0;
		private string				description = string.Empty;
		private string				reference = string.Empty;
		private decimal				amount = 0;
		private decimal				balance = 0;
		private DateTime				transDate = new DateTime(1900,1,1,0,0,0,0);
		private int				domainID = 0;
		private int				pointBalance = 0;
		#endregion
		
		#region Constructors
		public a_UserCreditTransLogBase() {}
		
		public a_UserCreditTransLogBase (
			int creditTransID,
			int userID,
			int type,
			string description,
			string reference,
			decimal amount,
			decimal balance,
			DateTime transDate,
			int domainID,
			int pointBalance)
		
		{
			this.creditTransID = creditTransID;
			this.userID = userID;
			this.type = type;
			this.description = description;
			this.reference = reference;
			this.amount = amount;
			this.balance = balance;
			this.transDate = transDate;
			this.domainID = domainID;
			this.pointBalance = pointBalance;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int CreditTransID
		{
			get { return creditTransID; }
			set { creditTransID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int UserID
		{
			get { return userID; }
			set { userID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Type
		{
			get { return type; }
			set { type = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Reference
		{
			get { return reference; }
			set { reference = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal Amount
		{
			get { return amount; }
			set { amount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal Balance
		{
			get { return balance; }
			set { balance = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime TransDate
		{
			get { return transDate; }
			set { transDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int DomainID
		{
			get { return domainID; }
			set { domainID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int PointBalance
		{
			get { return pointBalance; }
			set { pointBalance = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_UserCreditTransLogColumns
	{
		CreditTransID,
		UserID,
		Type,
		Description,
		Reference,
		Amount,
		Balance,
		TransDate,
		DomainID,
		PointBalance
	}//End enum
}